<?php
//测试控制器类
class IndexController extends Controller{
    //动作方法
    public function index(){
        $db = M("blog");
//        p($db->field(array('id'=>"blog_id",'concat("标题是:","title","；点击数是:","click")'=>"c"))->all());
        p($db->field("title,cid",true)->all());
    }
}
